<template>
  <van-dialog
    use-slot
    title="未分类图片"
    :show="show"
    show-cancel-button
    confirm-button-open-type="getUserInfo"
    @close="onClose"
    @confirm="getUserInfo"
  >
  <ul class="box">
    <li>
      <img src="../../static/images/user.png" alt="">
      <van-checkbox :value="checked " @change="onChange"></van-checkbox>
    </li>
  </ul>
  </van-dialog>
</template>

<script>
    export default {
      name: 'addImg',
      data () {
        return {
          show: false
        }
      },
      methods: {
        onChange(){

        },
        init () {
          this.show = true
        },

        getUserInfo(){

        },
        onClose(){
          this.show=false;
        }
      }
    }
</script>

<style scoped>
   .box{
     width: 100%;
     box-sizing: border-box;
     padding:20rpx;
     display: flex;
     justify-content: space-between;
     flex-wrap: wrap;
   }
  .box>li{
    width: 45%;
    box-sizing: border-box;
    padding:10rpx;

  }
   .box>li>img{
     width: 100%;

   }
</style>
